#ifndef _VALIDATORSKILL_H_
#define _VALIDATORSKILL_H_
#include "ValidatorBase.h"
#include "MgrBase.h"
class VSkill_TypeCheck :public ValidatorSkillBase
{
public:
	virtual bool Validate(const Reactor * pRecator) const ;
	virtual void InitData(const std::vector<int32>& vData){m_vTypes=vData;}
	void SetInclude(bool bInclude){m_bIncludeOrExclude=bInclude;}
private:
	bool m_bIncludeOrExclude;
	std::vector<int32> m_vTypes;
};
class VSkill_CategoryCheck :public ValidatorSkillBase
{
public:
	virtual bool Validate(const Reactor * pRecator) const ;
	virtual void InitData(const std::vector<int32>& vData){m_vCategorys=vData;}
	void SetInclude(bool bInclude){m_bIncludeOrExclude=bInclude;}
private:
	bool m_bIncludeOrExclude;
	std::vector<int32> m_vCategorys;
};

#endif